menu: Guard against NULL toplevel
authorTimm Bäder <mail@baedert.org>
Tue, 26 Sep 2017 05:10:39 +0000 (07:10 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 9 Feb 2018 19:17:48 +0000 (20:17 +0100)
commitd54321c1ca7da3d9b0a867b26f63340a48eba74c
tree1a550dac2a61e2f283801b8b1914b18f21be6341
parent1362609120f6e2a63ac531a5df69b2c1cd1b13a9
menu: Guard against NULL toplevel

This can happen, as indicated by GtkMenu explicitly connecting to
::destroy of its toplevel window. Do the same thing in GtkComboBox.
gtk/gtkmenu.c